/* MERARY - Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --olive: #3D4536;
  --olive-dark: #2D3425;
  --pink: #E5A5B0;
  --pink-light: #FFF5F8;
  --pink-accent: #FF7DB1;
  --pink-soft: #F9F0F2;
  --cream: #FDFBF7;
  --white: #FFFFFF;
  --gray-light: #F5F3F0;
  --gray: #8A8A8A;
  --gray-dark: #4A4A4A;
  --text: #2F3528;
  --border: #E8E4E0;
  --shadow: 0 4px 20px rgba(61, 69, 54, 0.08);
  --radius: 8px;
  --radius-lg: 12px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --design-max: min(120rem, calc(100vw - 2 * var(--gutter)));
  --container-max: min(120rem, calc(100vw - 2 * var(--gutter)));
  --gutter: 3rem;
  --site-scale: 1;
  --site-bg: #f8f0ee;
  --category-hero-bg: linear-gradient(128deg, #fffdfb 0%, #fdf3f5 24%, #f8e4ea 52%, #faeef2 78%, #fff9fa 100%);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-header: rgba(255, 255, 255, 0.9);
  --surface-cream: rgba(253, 251, 247, 0.55);
  --surface-pink: rgba(255, 245, 248, 0.55);
  --surface-pink-soft: rgba(249, 240, 242, 0.6);
  --surface-gray: rgba(245, 243, 240, 0.65);
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: transparent;
  line-height: 1.6;
  font-size: 14px;
  min-height: 100vh;
  position: relative;
}

body:not(.premium-page):not(.premium-product-page) {
  padding-top: 0;
}

/* Page background — same soft pink gradient as homepage / catalog hero */
body:not(.premium-page):not(.premium-product-page)::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #fdf3f5;
  background-image: url('../images/site-background.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-width: 100%;
  min-height: 100%;
  pointer-events: none;
}

img { max-width: 100%; display: block; background: transparent; }
img[src] { min-height: 1px; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 14px; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===== TOP BAR (hidden on main site) ===== */
.top-bar {
  display: none !important;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar__items {
  display: flex;
  gap: 32px;
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

.top-bar__item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== HEADER ===== */
.header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  z-index: 200;
}

.header .container {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 16px 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: none;
  width: max-content;
  justify-self: start;
  overflow: visible;
  flex-shrink: 0;
}

.header__center {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(22px, 3vw, 40px);
  flex-wrap: nowrap;
  justify-self: start;
}

.header__actions {
  grid-column: 3;
  justify-self: end;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
}

.logo__icon { width: 48px; height: 48px; }

.logo__img {
  display: block;
  height: 58px;
  width: auto;
  background: transparent !important;
}

.logo__img--sm { height: 40px; }

.logo__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-width: 0;
}

.logo__name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--olive);
  letter-spacing: 0.08em;
  line-height: 1.05;
  white-space: nowrap;
  text-align: center;
}

.logo__tagline {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: #6a525c;
  text-transform: uppercase;
  margin-top: 5px;
  text-align: center;
  white-space: nowrap;
  /* компенсируем letter-spacing, чтобы визуально центр совпал с MERARY */
  padding-right: 0.34em;
  box-sizing: content-box;
}

.nav {
  display: flex;
  gap: clamp(20px, 2.2vw, 32px);
  align-items: center;
  justify-content: center;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link:hover { color: var(--pink-accent); }

.nav__link svg { width: 12px; height: 12px; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
  position: relative;
}

.header__icon:hover { background: var(--pink-light); }
.header__icon svg { width: 22px; height: 22px; color: var(--olive); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c85f73;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.fav-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c85f73;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--olive);
  color: var(--white);
}
.btn--primary:hover { background: var(--olive-dark); }

.btn--outline {
  background: var(--white);
  color: var(--olive);
  border: 1.5px solid var(--olive);
}
.btn--outline:hover { background: var(--pink-light); }

.btn--pink {
  background: var(--white);
  color: var(--pink-accent);
  border: 1.5px solid var(--pink-accent);
}
.btn--pink:hover { background: var(--pink-light); }

.btn--sm { padding: 10px 16px; font-size: 11px; }
.btn--full { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 13px; }

.btn-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--pink);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.btn-icon:hover { background: var(--pink-light); }
.btn-icon.active { background: var(--pink-light); border-color: var(--pink-accent); }
.btn-icon svg { width: 18px; height: 18px; color: var(--pink-accent); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 248, 250, 0.72) 0%, rgba(255, 232, 240, 0.65) 45%, rgba(255, 245, 248, 0.7) 100%);
  padding: 48px 0 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(255, 125, 177, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  padding: 32px 0 56px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.12;
  color: var(--olive);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__title .heart { color: var(--pink-accent); font-size: 32px; }

.hero__subtitle {
  font-size: 17px;
  color: var(--gray-dark);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 420px;
}

.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.btn-flower { font-size: 16px; margin-right: 4px; }

.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 20px;
}

.hero__image-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: 24px 24px 80px 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(61, 69, 54, 0.15), 0 8px 24px rgba(255, 125, 177, 0.2);
}

.hero__image-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(255, 125, 177, 0.08) 100%);
  pointer-events: none;
}

.hero__trust {
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(229, 165, 176, 0.25);
  padding: 28px 0;
  position: relative;
  z-index: 1;
}

.hero__trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.hero__trust-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 2px;
}

.hero__trust-item span {
  font-size: 12px;
  color: var(--gray);
}

.hero__trust-icon {
  width: 48px;
  height: 48px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__trust-icon svg { width: 22px; height: 22px; color: var(--pink-accent); }

/* Legacy features bar (catalog) */
.features-bar {
  background: var(--surface-pink);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 32px 0;
  border-top: 1px solid rgba(229, 165, 176, 0.2);
}

.features-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item__icon svg { width: 22px; height: 22px; color: var(--pink-accent); }

.feature-item__title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
}

.feature-item__text {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}

/* ===== SECTION ===== */
.section {
  padding: clamp(48px, 5vw, 72px) 0;
  background: transparent;
}

.section--pink { background: var(--surface-pink); }
.section--cream { background: var(--surface-cream); }
.section--gray { background: var(--surface-gray); }

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--olive);
}

.section__title .heart { color: var(--pink-accent); font-size: 20px; }

.section__link {
  font-size: 14px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.section__link:hover { color: var(--pink-accent); }

/* ===== CATEGORIES ===== */
.categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s;
}

.category-card:hover { transform: translateY(-4px); }

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s;
}

.category-card:hover img { transform: scale(1.05); }

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.6));
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.category-card__name {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

/* Legacy catalog overlay arrow (not used on home mockup cards) */
.category-card:not([class*="category-card--"]) .category-card__arrow,
.category-card__overlay .category-card__arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card__arrow svg { width: 14px; height: 14px; color: var(--olive); }

/* ===== PRODUCT CARD ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  width: 100%;
}

.products-grid--3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  background: var(--surface);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.product-card:hover { box-shadow: var(--shadow); }

.product-card__image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: transparent;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s;
}

.product-card__image--premium {
  background: #faf6f3;
}

.product-card__image--premium img {
  object-fit: contain;
  padding: 14px;
}

.product-card:hover .product-card__image img { transform: scale(1.05); }

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pink-accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card__badge--new { background: #C45B5B; }

.product-card__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.product-card:hover .product-card__fav { opacity: 1; }
.product-card__fav.active { opacity: 1; }
.product-card__fav svg { width: 16px; height: 16px; color: var(--pink-accent); }

.product-card__body { padding: 16px; }

.product-card__name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.product-card__desc {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.product-card__price {
  font-weight: 700;
  font-size: 16px;
}

.product-card__rating {
  font-size: 12px;
  color: var(--pink-accent);
  font-weight: 600;
}

.product-card__actions {
  display: flex;
  gap: 8px;
}

/* ===== WHY US + DELIVERY ===== */
.why-delivery {
  background: linear-gradient(180deg, rgba(253, 251, 247, 0.45) 0%, rgba(255, 245, 248, 0.4) 100%);
  padding: 72px 0;
}

.why-delivery__heading {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--olive);
  text-align: center;
  margin-bottom: 48px;
}

.why-delivery__heading .heart { color: var(--pink-accent); font-size: 20px; }

.why-delivery__layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
}

.why-us-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-us-card {
  background: var(--surface);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(61, 69, 54, 0.06);
  border: 1px solid rgba(232, 228, 224, 0.6);
  transition: transform 0.25s, box-shadow 0.25s;
}

.why-us-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(61, 69, 54, 0.1);
}

.why-us-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--pink-light), #FFE0EC);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-us-card__icon svg { width: 24px; height: 24px; color: var(--pink-accent); }

.why-us-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 8px;
}

.why-us-card p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.7;
}

.delivery-panel {
  background: var(--surface);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(61, 69, 54, 0.06);
  border: 1px solid rgba(232, 228, 224, 0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.delivery-panel__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 12px;
}

.delivery-panel__text {
  font-size: 13px;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 20px;
}

.seo-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 18px;
}

.seo-city-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff1f4;
  color: #c8396b;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.seo-city-links a:hover {
  background: #ffe4ea;
}

.delivery-panel__map {
  position: relative;
  margin-top: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 200px;
  background: var(--cream);
}

.delivery-panel__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.delivery-panel__pins span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--pink-accent);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(255, 125, 177, 0.5);
  animation: pinPulse 2s ease-in-out infinite;
}

.delivery-panel__pins span:nth-child(2) { animation-delay: 0.3s; }
.delivery-panel__pins span:nth-child(3) { animation-delay: 0.6s; }
.delivery-panel__pins span:nth-child(4) { animation-delay: 0.9s; }
.delivery-panel__pins span:nth-child(5) { animation-delay: 1.2s; }

@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

/* Legacy why-us (fallback) */
.why-us {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.why-us__icon {
  width: 56px;
  height: 56px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.why-us__icon svg { width: 26px; height: 26px; color: var(--pink-accent); }

.why-us__title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.why-us__text {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
}

/* Legacy delivery section */
.delivery-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.delivery-section__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 16px;
}

.delivery-section__text {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 24px;
}

.delivery-section__map {
  position: relative;
  height: 350px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.delivery-section__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.delivery-section__map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,245,248,0.3), rgba(61,69,54,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
}

.delivery-section__map-overlay svg { width: 80%; opacity: 0.7; }

/* ===== FOOTER ===== */
.footer {
  background: var(--surface-gray);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 60px 0 0;
}

.footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand p {
  font-size: 13px;
  color: var(--gray);
  margin: 16px 0 20px;
  line-height: 1.7;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  width: 36px;
  height: 36px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer__social:hover { background: var(--pink); }
.footer__social svg { width: 16px; height: 16px; color: var(--pink-accent); }

.footer__heading {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--olive);
}

.footer__links li { margin-bottom: 10px; }

.footer__links a {
  font-size: 13px;
  color: var(--gray);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--pink-accent); }

.footer__contact {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: var(--gray);
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0;
}

.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a:hover { color: var(--pink-accent); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 10px 0 0;
  font-size: 13px;
  color: var(--gray);
}

.breadcrumbs a { transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--pink-accent); }
.breadcrumbs span { margin: 0 8px; }

/* ===== CATALOG ===== */
.catalog-hero {
  background: var(--surface-pink-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 200px;
}

.catalog-hero__content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.catalog-hero__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 8px;
}

.catalog-hero__text {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
}

.catalog-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  filter: drop-shadow(0 12px 28px rgba(61, 69, 54, 0.12));
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: clamp(20px, 2.2vw, 32px);
  align-items: start;
  width: 100%;
}

/* ===== FILTERS ===== */
.filters {
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 16px;
}

.filters__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.filters__title { font-weight: 600; font-size: 16px; }

.filters__reset {
  font-size: 12px;
  color: var(--pink-accent);
  cursor: pointer;
}
.filters__reset:hover { text-decoration: underline; }

.filter-group {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.filter-group__title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.filter-group__title svg { width: 14px; height: 14px; color: var(--gray); }

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--gray-dark);
  cursor: pointer;
}

.filter-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--olive);
}

.price-range {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.price-range input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
}

.price-slider {
  width: 100%;
  accent-color: var(--pink-accent);
}

.color-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.color-swatch.active, .color-swatch:hover {
  border-color: var(--olive);
}

/* ===== CATALOG TOOLS ===== */
.catalog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-tabs {
  display: flex;
  gap: 8px;
}

.catalog-tab {
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.catalog-tab.active, .catalog-tab:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--white);
}

.catalog-sort select {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  background: var(--white);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.pagination__btn.active, .pagination__btn:hover {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

/* ===== PRODUCT PAGE ===== */
.product-page {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px 48px;
  align-items: start;
  padding: 18px 0 48px;
  width: 100%;
}

.product-gallery {
  position: sticky;
  top: 16px;
  width: 100%;
  max-width: none;
}

.product-info {
  max-width: none;
  min-width: 0;
  background: rgba(255, 252, 250, 0.94);
  border: 1px solid rgba(234, 214, 210, 0.95);
  border-radius: 24px;
  padding: 26px 28px 24px;
  box-shadow: 0 14px 42px rgba(90, 50, 55, 0.07);
}

.product-gallery__main {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: min(560px, calc(100vh - 150px));
  margin-bottom: 12px;
  background: #f4eceb;
  box-shadow: 0 10px 30px rgba(90, 50, 55, 0.08);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-gallery__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pink-accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 2;
}

.product-gallery__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 16px;
  color: #c85f73;
}

.product-gallery__fav.is-active {
  color: #a35e5e;
}

.product-info__sku {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted, #8a8a8a);
  margin-bottom: 8px;
}

.product-info__lead {
  font-size: 14px;
  line-height: 1.5;
  color: #5c5552;
  margin: 0 0 16px;
}

.product-info__tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f5ebe4;
  color: #8e6c5d;
  text-decoration: none;
}

.product-comp-card {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #f0e4e0;
  border-radius: 16px;
  background: #fff8f7;
}

.product-comp-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.product-comp-card ul {
  margin: 0;
  padding-left: 18px;
  color: #5c5552;
  line-height: 1.55;
  font-size: 14px;
}

.product-gallery__zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__thumbs {
  display: flex;
  gap: 8px;
}

.product-gallery__thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.product-gallery__thumb.active { border-color: var(--pink-accent); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  color: var(--olive);
  margin: 0 0 8px;
  line-height: 1.15;
}

.product-info__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
}

.product-info__stars { color: var(--pink-accent); }

.product-info__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-info__badge {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f0c9d2;
  color: #d25a74;
}

.product-info__price {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.product-option { margin-bottom: 16px; }

.product-option__label {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  color: #2f2a28;
}

.product-option__label a {
  font-size: 12px;
  color: var(--pink-accent);
  font-weight: 400;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.size-option {
  border: 1.5px solid #eadfd9;
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  background: #fff;
}

.size-option:hover {
  border-color: #f0b8c4;
}

.size-option.active {
  border-color: #ef728a;
  background: #fff5f7;
  box-shadow: 0 0 0 1px rgba(239, 114, 138, 0.25);
}

.size-option__letter {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
}

.size-option__name {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 4px;
}

.size-option__price {
  font-size: 13px;
  font-weight: 600;
}

.packaging-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.packaging-option {
  border: 1.5px solid #eadfd9;
  border-radius: 14px;
  padding: 14px 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  text-align: center;
}

.packaging-option:hover {
  border-color: #f0b8c4;
}

.packaging-option.active {
  border-color: #ef728a;
  background: #fff5f7;
  box-shadow: 0 0 0 1px rgba(239, 114, 138, 0.25);
}

.delivery-info {
  background: var(--pink-light);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.delivery-info__item {
  text-align: center;
  font-size: 12px;
}

.delivery-info__item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 16px;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid #eadfd9;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.qty-selector button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  font-size: 18px;
}

.qty-selector span {
  min-width: 36px;
  text-align: center;
  font-weight: 600;
}

.product-actions {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 10px;
}

.product-actions .btn {
  border-radius: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.product-actions .btn--pink {
  background: #fff;
  border: 1.5px solid #ef728a;
  color: #e85270;
}

.product-actions .btn--pink:hover {
  background: #fff5f7;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: -1px;
}

.tab.active {
  color: var(--olive);
  border-bottom-color: var(--pink-accent);
}

.tab-content { display: none; font-size: 14px; color: var(--gray-dark); line-height: 1.8; }
.tab-content.active { display: block; }

/* ===== REVIEWS ===== */
.section--reviews {
  background: var(--surface-pink);
}

.reviews-nav {
  display: flex;
  gap: 8px;
}

.reviews-nav__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--olive);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.reviews-nav__btn:hover {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

.reviews-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  overflow: hidden;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--surface);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(232, 228, 224, 0.8);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(61, 69, 54, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(61, 69, 54, 0.08);
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-card__avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--pink-light);
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-light), #FFE0EC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--pink-accent);
  flex-shrink: 0;
}

.review-card__info { flex: 1; min-width: 0; }

.review-card__name { font-weight: 600; font-size: 14px; color: var(--olive); }
.review-card__meta { font-size: 12px; color: var(--gray); margin-top: 2px; }

.review-card__stars {
  color: var(--pink-accent);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.review-card--home .review-card__stars {
  margin-left: 0;
  margin-top: 0;
}

.review-card__text {
  font-size: 13px;
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 0;
}

.review-card__photo {
  border-radius: var(--radius);
  overflow: hidden;
  height: 140px;
  margin-top: 16px;
}

.review-card__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== INSPIRATION ===== */
.section--inspiration {
  background: var(--surface);
  padding-bottom: 80px;
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.inspiration-item {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.inspiration-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(61, 69, 54, 0.12);
  z-index: 1;
}

.inspiration-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.inspiration-item:hover img { transform: scale(1.08); }

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item__question {
  padding: 16px 20px;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-item__question:hover { background: var(--pink-light); }
.faq-item__question svg { width: 16px; height: 16px; color: var(--gray); transition: transform 0.2s; }
.faq-item.open .faq-item__question svg { transform: rotate(45deg); }

.faq-item__answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}
.faq-item.open .faq-item__answer { display: block; }

/* ===== CHECKOUT ===== */
.checkout-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 32px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 380px;
  gap: 24px;
  align-items: start;
}

.checkout-card {
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.checkout-card__title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-card__title svg { width: 20px; height: 20px; color: var(--pink-accent); }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--gray-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink-accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-option.active {
  border-color: var(--pink-accent);
  background: var(--pink-light);
}

.payment-option input { accent-color: var(--olive); }

.promo-row {
  display: flex;
  gap: 8px;
}

.promo-row input { flex: 1; }

.checkout-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.checkout-item:last-child { border-bottom: none; }

.checkout-item__image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.checkout-item__image img { width: 100%; height: 100%; object-fit: cover; }

.checkout-item__info { flex: 1; }
.checkout-item__name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.checkout-item__desc { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.checkout-item__price { font-weight: 700; }

.checkout-item__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-item__remove {
  color: var(--gray);
  font-size: 18px;
  cursor: pointer;
}
.checkout-item__remove:hover { color: #C45B5B; }

.checkout-summary {
  position: sticky;
  top: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
}

.summary-row--total {
  font-size: 20px;
  font-weight: 700;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
}

.summary-promo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-promo__tag {
  background: var(--pink-light);
  color: var(--pink-accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.delivery-progress {
  background: var(--pink-light);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.trust-badge {
  text-align: center;
  font-size: 11px;
  color: var(--gray);
}

.trust-badge svg { width: 24px; height: 24px; color: var(--pink-accent); margin-bottom: 6px; }

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  padding: 48px 0;
}

.step__icon {
  width: 56px;
  height: 56px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step__icon svg { width: 24px; height: 24px; color: var(--pink-accent); }
.step__title { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.step__text { font-size: 12px; color: var(--gray); line-height: 1.6; }

/* ===== ADDONS ===== */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.addon-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
}

.addon-card__image {
  height: 140px;
  overflow: hidden;
}

.addon-card__image img { width: 100%; height: 100%; object-fit: cover; }
.addon-card__body { padding: 16px; }
.addon-card__name { font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.addon-card__price { font-size: 14px; font-weight: 700; margin-bottom: 12px; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--olive);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
}

.modal__icon {
  width: 64px;
  height: 64px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.modal__title {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 12px;
}

.modal__text {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { justify-content: center; }
  .hero__image-frame img { height: 400px; }
  .hero__trust-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__trust-item { justify-content: flex-start; }
  .why-delivery__layout { grid-template-columns: 1fr; }
  .inspiration-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-slider { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(3, 1fr); }
  .why-us { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product-page {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 12px 0 32px;
  }
  .product-gallery {
    position: static;
    max-width: 480px;
  }
  .product-info {
    padding: 20px 18px;
    border-radius: 20px;
  }
  .product-gallery__main {
    max-height: none;
  }
  .product-actions {
    grid-template-columns: 1fr;
  }
  .checkout-layout { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-section .container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero__title { font-size: 34px; }
  .hero__image-frame { border-radius: 16px; }
  .hero__image-frame img { height: 320px; }
  .why-us-cards { grid-template-columns: 1fr; }
  .features-bar .container { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .products-grid--3 { grid-template-columns: 1fr; }
  .why-us { grid-template-columns: 1fr; }
  .inspiration-grid { grid-template-columns: repeat(3, 1fr); }
  .footer .container { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .top-bar__items { gap: 12px; font-size: 10px; }
  .catalog-hero { grid-template-columns: 1fr; }
}

/* Desktop/mobile gutters & type — единый эталон в viewport-adapt.css */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --gutter: clamp(24px, 3.5vw, 40px);
    --container-max: 100%;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: clamp(16px, 4.5vw, 24px);
    --container-max: 100%;
  }

  .nav { display: none; }

  .footer__bottom .container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer__bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }
}
